package com.itqf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itqf.StringToIngterArrayTypeHandler;
import lombok.Data;

/**
 * projectName: mybatisgp8
 *
 * @author: 赵伟风
 * time: 2021/8/28 12:51
 * description:
 */
@Data
@TableName(autoResultMap = true)
public class User {

    @TableField
    @TableId(type = IdType.AUTO)
    private int id;
    @TableField(typeHandler = StringToIngterArrayTypeHandler.class)
    private Integer [] name;
    private int  age;
}
